package com.cdc.affairmanage.factory;

import com.cdc.affairmanage.dao.MessageDAO;
import com.cdc.affairmanage.daoImpl.MessageDAOImpl;

public class MessageDAOFactory {
	public static MessageDAO getMessageAOInstance(){	//工厂方法，用来返回DAO实现类实例
		return new MessageDAOImpl();						//返回DAO实现类实例
	}
}